<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021/3/6
  Time: 18:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title>展示个人信息</title>
    <style>
        tr {
            text-align: center;
        }
    </style>
</head>
<body>
<table width="800px" border="1px" align="center">
    <tr>
        <th>ID</th>
        <th>姓名</th>
        <th>性别</th>
        <th>密码</th>
        <th>角色</th>
        <th>部门</th>
        <th>工作</th>
        <th>电话</th>
        <th>地址</th>
        <th>状态</th>
    </tr>
    <c:if test="${not empty map}">
        <tr>
            <td>${map.id}</td>
            <td>${map.name}</td>
            <td>${map.gender ? '女' : '男'}</td>
            <td>${map.password}</td>
            <td>${map.roleName}</td>
            <td>${map.deptName}</td>
            <td>${map.jobName}</td>
            <td>${map.telephone}</td>
            <td>${map.address}</td>
            <td>${map.statusName}</td>
        </tr>
    </c:if>
</table>
<a href="mainPage.jsp">回到首页</a>
</body>
</html>
